
#ifndef CONFIGWRITERSQLITE_H
#define CONFIGWRITERSQLITE_H

#include "ConfigOperatorIf.h"
#include "ConfigWriterIf.h"

namespace woe
{
	class TUTIL_API ConfigWriterSqlite : public IConfigWriter
	{
	public:
		ConfigWriterSqlite();
		virtual ~ConfigWriterSqlite();


		/**
		* DoSave
		* 
		* @param config 
		* @return bool 
		*/
		virtual bool DoSave(const std::string& strFileName,  IConfigOperator* config);

		static ConfigWriterSqlite* GetInstance();

	private:
		//CRITICAL_SECTION			m_csWriteSqlite;
		static ConfigWriterSqlite*	m_Instance;
	};
}

#endif // CONFIGWRITERSQLITE_H
